//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01B
TN_Widget.CreateTable([['Chicago White Sox vs. Cleveland Guardians','Guaranteed Rate Field','Chicago, IL','Thursday','5/9/2024','6:40 PM','5816166','Chicago-White-Sox-vs--Cleveland-Guardians-5-9-2024'],['Chicago White Sox vs. Cleveland Guardians','Guaranteed Rate Field','Chicago, IL','Friday','5/10/2024','6:40 PM','5816168','Chicago-White-Sox-vs--Cleveland-Guardians-5-10-2024'],['Chicago White Sox vs. Cleveland Guardians','Guaranteed Rate Field','Chicago, IL','Saturday','5/11/2024','6:10 PM','5816170','Chicago-White-Sox-vs--Cleveland-Guardians-5-11-2024'],['Chicago White Sox vs. Cleveland Guardians','Guaranteed Rate Field','Chicago, IL','Sunday','5/12/2024','1:10 PM','5816172','Chicago-White-Sox-vs--Cleveland-Guardians-5-12-2024'],['Chicago White Sox vs. Washington Nationals','Guaranteed Rate Field','Chicago, IL','Monday','5/13/2024','6:40 PM','5816173','Chicago-White-Sox-vs--Washington-Nationals-5-13-2024'],['Chicago White Sox vs. Washington Nationals','Guaranteed Rate Field','Chicago, IL','Tuesday','5/14/2024','6:40 PM','5816174','Chicago-White-Sox-vs--Washington-Nationals-5-14-2024'],['Chicago White Sox vs. Washington Nationals','Guaranteed Rate Field','Chicago, IL','Wednesday','5/15/2024','1:10 PM','5816175','Chicago-White-Sox-vs--Washington-Nationals-5-15-2024'],['Chicago White Sox vs. Baltimore Orioles','Guaranteed Rate Field','Chicago, IL','Thursday','5/23/2024','6:40 PM','5816179','Chicago-White-Sox-vs--Baltimore-Orioles-5-23-2024'],['Chicago White Sox vs. Baltimore Orioles','Guaranteed Rate Field','Chicago, IL','Friday','5/24/2024','6:40 PM','5816180','Chicago-White-Sox-vs--Baltimore-Orioles-5-24-2024'],['Chicago White Sox vs. Baltimore Orioles','Guaranteed Rate Field','Chicago, IL','Saturday','5/25/2024','1:10 PM','5816181','Chicago-White-Sox-vs--Baltimore-Orioles-5-25-2024'],['Chicago White Sox vs. Baltimore Orioles','Guaranteed Rate Field','Chicago, IL','Sunday','5/26/2024','1:10 PM','5816184','Chicago-White-Sox-vs--Baltimore-Orioles-5-26-2024'],['Chicago White Sox vs. Toronto Blue Jays','Guaranteed Rate Field','Chicago, IL','Monday','5/27/2024','1:10 PM','5816190','Chicago-White-Sox-vs--Toronto-Blue-Jays-5-27-2024'],['Chicago White Sox vs. Toronto Blue Jays','Guaranteed Rate Field','Chicago, IL','Tuesday','5/28/2024','6:40 PM','5816192','Chicago-White-Sox-vs--Toronto-Blue-Jays-5-28-2024'],['Chicago White Sox vs. Toronto Blue Jays','Guaranteed Rate Field','Chicago, IL','Wednesday','5/29/2024','6:40 PM','5816195','Chicago-White-Sox-vs--Toronto-Blue-Jays-5-29-2024'],['Chicago White Sox vs. Boston Red Sox','Guaranteed Rate Field','Chicago, IL','Thursday','6/6/2024','7:10 PM','5816202','Chicago-White-Sox-vs--Boston-Red-Sox-6-6-2024'],['Chicago White Sox vs. Boston Red Sox','Guaranteed Rate Field','Chicago, IL','Friday','6/7/2024','7:10 PM','5816203','Chicago-White-Sox-vs--Boston-Red-Sox-6-7-2024'],['Chicago White Sox vs. Boston Red Sox','Guaranteed Rate Field','Chicago, IL','Saturday','6/8/2024','3:10 PM','5816204','Chicago-White-Sox-vs--Boston-Red-Sox-6-8-2024'],['Chicago White Sox vs. Boston Red Sox','Guaranteed Rate Field','Chicago, IL','Sunday','6/9/2024','1:10 PM','5816206','Chicago-White-Sox-vs--Boston-Red-Sox-6-9-2024'],['Chicago White Sox vs. Houston Astros','Guaranteed Rate Field','Chicago, IL','Tuesday','6/18/2024','7:10 PM','5816210','Chicago-White-Sox-vs--Houston-Astros-6-18-2024'],['Chicago White Sox vs. Houston Astros','Guaranteed Rate Field','Chicago, IL','Wednesday','6/19/2024','7:10 PM','5816211','Chicago-White-Sox-vs--Houston-Astros-6-19-2024'],['Chicago White Sox vs. Houston Astros','Guaranteed Rate Field','Chicago, IL','Thursday','6/20/2024','1:10 PM','5816212','Chicago-White-Sox-vs--Houston-Astros-6-20-2024'],['Chicago White Sox vs. Los Angeles Dodgers','Guaranteed Rate Field','Chicago, IL','Monday','6/24/2024','7:10 PM','5816216','Chicago-White-Sox-vs--Los-Angeles-Dodgers-6-24-2024'],['Chicago White Sox vs. Los Angeles Dodgers','Guaranteed Rate Field','Chicago, IL','Tuesday','6/25/2024','7:10 PM','5816217','Chicago-White-Sox-vs--Los-Angeles-Dodgers-6-25-2024'],['Chicago White Sox vs. Los Angeles Dodgers','Guaranteed Rate Field','Chicago, IL','Wednesday','6/26/2024','7:10 PM','5816219','Chicago-White-Sox-vs--Los-Angeles-Dodgers-6-26-2024'],['Chicago White Sox vs. Atlanta Braves','Guaranteed Rate Field','Chicago, IL','Thursday','6/27/2024','3:10 PM','5816114','Chicago-White-Sox-vs--Atlanta-Braves-6-27-2024'],['Chicago White Sox vs. Colorado Rockies','Guaranteed Rate Field','Chicago, IL','Friday','6/28/2024','7:10 PM','5816223','Chicago-White-Sox-vs--Colorado-Rockies-6-28-2024'],['Chicago White Sox vs. Colorado Rockies','Guaranteed Rate Field','Chicago, IL','Saturday','6/29/2024','1:10 PM','5816225','Chicago-White-Sox-vs--Colorado-Rockies-6-29-2024'],['Chicago White Sox vs. Colorado Rockies','Guaranteed Rate Field','Chicago, IL','Sunday','6/30/2024','1:10 PM','5816227','Chicago-White-Sox-vs--Colorado-Rockies-6-30-2024'],['Chicago White Sox vs. Minnesota Twins','Guaranteed Rate Field','Chicago, IL','Monday','7/8/2024','7:10 PM','5816231','Chicago-White-Sox-vs--Minnesota-Twins-7-8-2024'],['Chicago White Sox vs. Minnesota Twins','Guaranteed Rate Field','Chicago, IL','Tuesday','7/9/2024','7:10 PM','5816232','Chicago-White-Sox-vs--Minnesota-Twins-7-9-2024'],['Chicago White Sox vs. Minnesota Twins','Guaranteed Rate Field','Chicago, IL','Wednesday','7/10/2024','1:10 PM','5816233','Chicago-White-Sox-vs--Minnesota-Twins-7-10-2024'],['Chicago White Sox vs. Pittsburgh Pirates','Guaranteed Rate Field','Chicago, IL','Friday','7/12/2024','7:10 PM','5816237','Chicago-White-Sox-vs--Pittsburgh-Pirates-7-12-2024'],['Chicago White Sox vs. Pittsburgh Pirates','Guaranteed Rate Field','Chicago, IL','Saturday','7/13/2024','1:10 PM','5816238','Chicago-White-Sox-vs--Pittsburgh-Pirates-7-13-2024'],['Chicago White Sox vs. Pittsburgh Pirates','Guaranteed Rate Field','Chicago, IL','Sunday','7/14/2024','1:10 PM','5816239','Chicago-White-Sox-vs--Pittsburgh-Pirates-7-14-2024'],['Chicago White Sox vs. Seattle Mariners','Guaranteed Rate Field','Chicago, IL','Friday','7/26/2024','7:10 PM','5816247','Chicago-White-Sox-vs--Seattle-Mariners-7-26-2024'],['Chicago White Sox vs. Seattle Mariners','Guaranteed Rate Field','Chicago, IL','Saturday','7/27/2024','6:10 PM','5816249','Chicago-White-Sox-vs--Seattle-Mariners-7-27-2024'],['Chicago White Sox vs. Seattle Mariners','Guaranteed Rate Field','Chicago, IL','Sunday','7/28/2024','1:10 PM','5816251','Chicago-White-Sox-vs--Seattle-Mariners-7-28-2024'],['Chicago White Sox vs. Kansas City Royals','Guaranteed Rate Field','Chicago, IL','Monday','7/29/2024','7:10 PM','5816256','Chicago-White-Sox-vs--Kansas-City-Royals-7-29-2024'],['Chicago White Sox vs. Kansas City Royals','Guaranteed Rate Field','Chicago, IL','Tuesday','7/30/2024','7:10 PM','5816257','Chicago-White-Sox-vs--Kansas-City-Royals-7-30-2024'],['Chicago White Sox vs. Kansas City Royals','Guaranteed Rate Field','Chicago, IL','Wednesday','7/31/2024','1:10 PM','5816258','Chicago-White-Sox-vs--Kansas-City-Royals-7-31-2024'],['Chicago White Sox vs. Chicago Cubs','Guaranteed Rate Field','Chicago, IL','Friday','8/9/2024','7:10 PM','5816268','Chicago-White-Sox-vs--Chicago-Cubs-8-9-2024'],['Chicago White Sox vs. Chicago Cubs','Guaranteed Rate Field','Chicago, IL','Saturday','8/10/2024','6:10 PM','5816269','Chicago-White-Sox-vs--Chicago-Cubs-8-10-2024'],['Chicago White Sox vs. New York Yankees','Guaranteed Rate Field','Chicago, IL','Monday','8/12/2024','7:10 PM','5816270','Chicago-White-Sox-vs--New-York-Yankees-8-12-2024'],['Chicago White Sox vs. New York Yankees','Guaranteed Rate Field','Chicago, IL','Tuesday','8/13/2024','7:10 PM','5816272','Chicago-White-Sox-vs--New-York-Yankees-8-13-2024'],['Chicago White Sox vs. New York Yankees','Guaranteed Rate Field','Chicago, IL','Wednesday','8/14/2024','7:10 PM','5816275','Chicago-White-Sox-vs--New-York-Yankees-8-14-2024'],['Chicago White Sox vs. Detroit Tigers','Guaranteed Rate Field','Chicago, IL','Friday','8/23/2024','7:10 PM','5816277','Chicago-White-Sox-vs--Detroit-Tigers-8-23-2024'],['Chicago White Sox vs. Detroit Tigers','Guaranteed Rate Field','Chicago, IL','Saturday','8/24/2024','6:10 PM','5816278','Chicago-White-Sox-vs--Detroit-Tigers-8-24-2024'],['Chicago White Sox vs. Detroit Tigers','Guaranteed Rate Field','Chicago, IL','Sunday','8/25/2024','1:10 PM','5816279','Chicago-White-Sox-vs--Detroit-Tigers-8-25-2024'],['Chicago White Sox vs. Detroit Tigers','Guaranteed Rate Field','Chicago, IL','Monday','8/26/2024','7:10 PM','5816280','Chicago-White-Sox-vs--Detroit-Tigers-8-26-2024'],['Chicago White Sox vs. Texas Rangers','Guaranteed Rate Field','Chicago, IL','Tuesday','8/27/2024','7:10 PM','5816284','Chicago-White-Sox-vs--Texas-Rangers-8-27-2024'],['Chicago White Sox vs. Texas Rangers','Guaranteed Rate Field','Chicago, IL','Wednesday','8/28/2024','7:10 PM','5816285','Chicago-White-Sox-vs--Texas-Rangers-8-28-2024'],['Chicago White Sox vs. Texas Rangers','Guaranteed Rate Field','Chicago, IL','Thursday','8/29/2024','1:10 PM','5816287','Chicago-White-Sox-vs--Texas-Rangers-8-29-2024'],['Chicago White Sox vs. New York Mets','Guaranteed Rate Field','Chicago, IL','Friday','8/30/2024','7:10 PM','5816325','Chicago-White-Sox-vs--New-York-Mets-8-30-2024'],['Chicago White Sox vs. New York Mets','Guaranteed Rate Field','Chicago, IL','Saturday','8/31/2024','6:10 PM','5816329','Chicago-White-Sox-vs--New-York-Mets-8-31-2024'],['Chicago White Sox vs. New York Mets','Guaranteed Rate Field','Chicago, IL','Sunday','9/1/2024','1:10 PM','5816330','Chicago-White-Sox-vs--New-York-Mets-9-1-2024'],['Chicago White Sox vs. Cleveland Guardians','Guaranteed Rate Field','Chicago, IL','Monday','9/9/2024','6:40 PM','5816338','Chicago-White-Sox-vs--Cleveland-Guardians-9-9-2024'],['Chicago White Sox vs. Cleveland Guardians','Guaranteed Rate Field','Chicago, IL','Tuesday','9/10/2024','6:40 PM','5816339','Chicago-White-Sox-vs--Cleveland-Guardians-9-10-2024'],['Chicago White Sox vs. Cleveland Guardians','Guaranteed Rate Field','Chicago, IL','Wednesday','9/11/2024','1:10 PM','5816341','Chicago-White-Sox-vs--Cleveland-Guardians-9-11-2024'],['Chicago White Sox vs. Oakland Athletics','Guaranteed Rate Field','Chicago, IL','Friday','9/13/2024','6:40 PM','5816352','Chicago-White-Sox-vs--Oakland-Athletics-9-13-2024'],['Chicago White Sox vs. Oakland Athletics','Guaranteed Rate Field','Chicago, IL','Saturday','9/14/2024','6:10 PM','5816353','Chicago-White-Sox-vs--Oakland-Athletics-9-14-2024'],['Chicago White Sox vs. Oakland Athletics','Guaranteed Rate Field','Chicago, IL','Sunday','9/15/2024','1:10 PM','5816354','Chicago-White-Sox-vs--Oakland-Athletics-9-15-2024'],['Chicago White Sox vs. Los Angeles Angels','Guaranteed Rate Field','Chicago, IL','Tuesday','9/24/2024','6:40 PM','5816358','Chicago-White-Sox-vs--Los-Angeles-Angels-9-24-2024'],['Chicago White Sox vs. Los Angeles Angels','Guaranteed Rate Field','Chicago, IL','Wednesday','9/25/2024','6:40 PM','5816359','Chicago-White-Sox-vs--Los-Angeles-Angels-9-25-2024'],['Chicago White Sox vs. Los Angeles Angels','Guaranteed Rate Field','Chicago, IL','Thursday','9/26/2024','1:10 PM','5816361','Chicago-White-Sox-vs--Los-Angeles-Angels-9-26-2024']],'US Cellular Field','http://www.ticketnetwork.com/ticket/US-Cellular-Field-events.aspx');